const serviceFacModel = (request) => {
    return {
        // 数据管理设置编辑
        dataManagementSettings_edit(query = {}) {
            return request(`/bussiness/dataManagementSettings/edit`, {
              method: 'post',
              data: query
            })
        },
        // 分页获取
        
        dataManagementSettings_page(query = {}) {
            return request(`/bussiness/dataManagementSettings/page`, {
              method: 'post',
              data: query
            })
        },
        // 新增
        dataManagementSettings_add(query = {}) {
          return request(`/bussiness/dataManagementSettings/add`, {
            method: 'post',
            data: query
          })
        },
        //  删除
        dataManagementSettings_del(ids) {
          return request(`/bussiness/dataManagementSettings/del`, {
            method: 'post',
            data: {
              batchesDel:ids
            }
          })
        },
        // 通过id查看详情
    }
}
export default ({ request }: any) => ({
    ...serviceFacModel(request)
  })